package org.zfes.snowier.zbss.xzy.biz.behaviour.model;
import org.zfes.snowier.core.data.IBaseModel;
public class BehaviourRecord extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public BehaviourRecord() {}
	public BehaviourRecord(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	@javax.validation.constraints.NotNull(message="用户不能为空")
	  private java.lang.Long userId;
	@javax.validation.constraints.NotNull(message="行为类型不能为空")
	  private java.lang.Long typeId;
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="备注长度不能大于100")
	  private java.lang.String title;
	  private java.lang.Byte status;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
	@org.hibernate.validator.constraints.Length(min=0,max=65535,message="类型行为数据详情长度不能大于65,535")
	  private java.lang.String content;
 
	
	//<-------------------------------------------->
	public BehaviourRecord setUserId(java.lang.Long userId){
	 this.userId=userId;
	 return this;
	}
	public java.lang.Long getUserId(){
		return this.userId;
	}
	public BehaviourRecord setTypeId(java.lang.Long typeId){
	 this.typeId=typeId;
	 return this;
	}
	public java.lang.Long getTypeId(){
		return this.typeId;
	}
	public BehaviourRecord setTitle(java.lang.String title){
		this.title=title==null?null:title.trim();
	 return this;
	}
	public java.lang.String getTitle(){
		return this.title;
	}
	public BehaviourRecord setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public BehaviourRecord setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public BehaviourRecord setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public BehaviourRecord setContent(java.lang.String content){
		this.content=content==null?null:content.trim();
	 return this;
	}
	public java.lang.String getContent(){
		return this.content;
	}
	@Override
	public String toString() {
		return "BehaviourRecord [userId=" + userId + ", typeId=" + typeId + ", title=" + title + ", status=" + status
				+ ", createTime=" + createTime + ", updateTime=" + updateTime + ", content=" + content + "]";
	}

}
